package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.enums.DelEnum;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/6/10 11:13
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class AllAppFormListDTO extends BaseDTO {
    private static final long serialVersionUID = -6775181453577849549L;

    /**
     * 需要忽略的表单
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Long formId;
    /**
     * 除掉这些表单
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<Long> excludeFormId;
    /**
     * 业务规则标识
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessRuleFlag;

    private Integer del;

    private Integer enable;

    private String defaultType;

    @Getter(onMethod_ = {@QueryIgnore})
    private Integer clueConvert;

    public AllAppFormListDTO(){
        del = DelEnum.NORMAL.getDel();
        excludeFormId = new ArrayList<>();
        enable = 1;
    }
}
